count = [1,2,3,4,5]
fruits = ['apples','oranges','pears','apricots']
change = [1,'pennies',2,'dimes',3,'quarters']

#
for number in count:
    print(f"This is count {number}")

#
for fruit in fruits:
    print(f"A fruit of type:{fruit}")

#
#
for i in change:
    print(f"I got {i}")

#空列表
elements = []

#range(0,6)  ->  0,1,2,3,4,5
for i in range(0,6):
    print(f"Adding {i} to the list.")
    #append() 在列表尾部添加元素
    elements.append(i)

#
for i in elements:
    print(f"Element was:{i}")